package com.day21.test2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {

    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("application.xml");

        HelloService hs = (HelloService)applicationContext.getBean("helloService");

        //String str = hs.count();
       // System.out.println(str + "---------------------");
       hs.add();
    }
}
